package com.example.mongo;

import java.io.Serializable;

import org.springframework.data.annotation.Id;

public class MUser implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	private Long id;
	
	private String username;
	private Student studen;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public Student getStuden() {
		return studen;
	}
	public void setStuden(Student studen) {
		this.studen = studen;
	}
	
	

}
